package com.wyl.template.mapper;

import com.wyl.template.domain.model.SysPermissionDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author wyl
 * @since 2021-06-29
 */
public interface SysPermissionMapper extends BaseMapper<SysPermissionDO> {

    List<SysPermissionDO> listUserPermissions(@Param("id") Long id);
}
